package com.ruoyi.crm.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 系统信息对象 crm_gh_sys
 * 
 * @author ruoyi
 * @date 2023-03-30
 */
@TableName("crm_gh_sys")
public class CrmGhSys extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 负责人id */
    @TableId(type = IdType.ASSIGN_ID)
    private Long userId;

    /** 所属区域 */
    @Excel(name = "所属区域")
    private String region;

    private Long ghId;

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setRegion(String region) 
    {
        this.region = region;
    }

    public String getRegion() 
    {
        return region;
    }

    public Long getGhId() {
        return ghId;
    }

    public void setGhId(Long ghId) {
        this.ghId = ghId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("region", getRegion())
            .toString();
    }
}
